package com.xyy.saas.payment.service;

import com.xyy.saas.payment.dao.model.FbankPayRecords;
import com.xyy.saas.payment.dao.model.FbankPayRecordsQueryParam;

import java.util.List;

public interface FbankPayRecordsService {

    Long getTotal(FbankPayRecordsQueryParam param);

    List<FbankPayRecords> queryAllByParam(FbankPayRecordsQueryParam param);

    List<FbankPayRecords> pageAllByParam(FbankPayRecordsQueryParam param);

    FbankPayRecords queryByOrderNo(String orderNo);

    FbankPayRecords queryByBusinessNo(String businessNo);

    FbankPayRecords queryOneByBusinessNoAndTradeCodes(String businessNo, List<Integer> tradeCodes);

    int insertSelective(FbankPayRecords entity);

    int deleteById(Long id);

}
